home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_319 / cnewssrc / cnews.src.lzh / relay / caches.c < prev    next >
C/C++ Source or Header  |  1989-06-27  |  363b  |  25 lines

  1. /*
  2.  * cache control
  3.  */
  4.  
  5. #include <stdio.h>
  6. #ifndef AMIGA
  7. #  include <sys/types.h>
  8. #endif /* AMIGA */
  9. #include "news.h"
  10. #include "active.h"
  11. #include "caches.h"
  12. #include "transmit.h"
  13.  
  14. statust
  15. loadcaches()                /* reload in-core caches from disk */
  16. {
  17.     return actload();
  18. }
  19.  
  20. statust
  21. synccaches()                /* force in-core caches to disk */
  22. {
  23.     return actsync() | trclose();
  24. }
  25.